Skip to content

Fix release workflow to include gem assets#64

Merged
dak2 merged 1 commit intomainfrom
add-github-release-step
Mar 15, 2026
Merged

Fix release workflow to include gem assets#64
dak2 merged 1 commit intomainfrom
add-github-release-step

Conversation

@dak2
Copy link
Owner

@dak2 dak2 commented Mar 15, 2026

Summary

  • release-tag.yml: Replace gh release create with gh workflow run release.yml --ref "$TAG" to delegate GitHub Release creation to the release workflow that actually builds gems
  • release.yml: Add workflow_dispatch trigger so it can be invoked explicitly from release-tag.yml

Why

When release-tag.yml creates a tag using GITHUB_TOKEN, GitHub Actions does not trigger other workflows listening for tag push events (this is a known platform limitation to prevent infinite loops). As a result, release.yml — which builds native gems and attaches them to the GitHub Release — was never executed for v0.1.9, leaving the release without gem assets.

By having release-tag.yml explicitly trigger release.yml via workflow_dispatch, we ensure the full build-and-release pipeline runs correctly.

Test plan

  • Merge this PR
  • On next release PR merge, verify release-tag.yml triggers release.yml
  • Verify GitHub Release includes all gem files (source, x86_64-linux, aarch64-linux, arm64-darwin)

🤖 Generated with Claude Code

The previous approach of creating a GitHub Release directly in
release-tag.yml caused two issues:
1. The release was created without gem files since no build step existed
2. GITHUB_TOKEN tag pushes do not trigger other workflows (GitHub Actions
   limitation), so release.yml never ran to build and attach gems

Instead, release-tag.yml now explicitly triggers release.yml via
workflow_dispatch after pushing the tag. This ensures gems are built
and attached to the GitHub Release.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@dak2 dak2 merged commit dceb1c1 into main Mar 15, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant